package com.yjt.class_studio.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author Yjt
 * @Date 2023/6/15 13:19
 * @Description
 */
@Data
public class SysUserLoginDTO {
    @NotBlank(message = "账号不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    @Size(message = "密码不能少于6位")
    private String password;
}
